package com.xit.hitmouse.Bean;

import com.xit.hitmouse.R;

/**
 * @author 厦工 友敏612
 * @Date 2023/11/22
 */
public class MapBean {


    private  int type;
    public int[][] position ;
    public  MapBean(int type){
        this.type=type;
    }


    public int[][] getPosition() {
        if(type == 1){
            position= new int[][]{{600,300},{1100,300},{1600,300},
                    {400,470},{900,470},{1400,470},
                    {650,670},{1150,670},{1650,670}};
        }else if(type == 2){
            position= new int[][]{{600,170},{1100,170},{1600,170},
                    {400,370},{900,370},{1400,370},
                    {650,570},{1150,570},{1650,570}};
        }else if(type == 3){
            position= new int[][]{{600,170},{1100,170},{1600,170},
                    {400,370},{900,370},{1400,370},
                    {650,570},{1150,570},{1650,570}};
        }

        return  position;
    }

    public int getBackground(){
        return R.drawable.hole1;
    }

    public int getCave(){
        return R.drawable.cave1;
    }

    public int getType() {
        return type;
    }



}
